import random
hide_digit=random.randint(1,100)
count=0
while count<20:
    shuru=input("请你输入一个数字")
    guess_digit=int(shuru)
    if guess_digit==hide_digit:
        print("你太棒了，猜对了!")
        print(hide_digit)
    elif guess_digit<hide_digit:
        print("你的数字猜小了")
    else:
        print("你的数字猜大了")
    count+=1
